package com.zgjkhis.modules.outpatient.service.dto;

import com.zgjkhis.modules.charges.domain.PrescriptionCharge;
import com.zgjkhis.modules.system.domain.Consult;
import com.zgjkhis.modules.system.domain.Info;
import com.zgjkhis.modules.valid.ValidList;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;

/**
 * @ClassName ConsultDto
 * @Deacription TODO
 * @Author yzq
 * @Date 2021/9/6 10:41
 * @Version 1.0
 **/
@Data
public class OrderDto {

    @ApiModelProperty(value = "订单id")
    private String  orderId;
    @ApiModelProperty(value = "附加费用")
    private ValidList<PrescriptionCharge> prescriptionCharge;
    @ApiModelProperty(value = "处方")
    @Valid
    @NotEmpty(message = "请完善处方")
    private ValidList<Info> info;
    @ApiModelProperty(value = "问诊信息")
    private Consult consult;
}
